package edu.ustb.efws.controller.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;

/**
 * 修改密码
 *
 * @author TS Group
 */
@ApiModel("修改密码")
public class UpdatePasswordForm {
    @NotBlank
    @ApiModelProperty(value = "现有密码", required = true)
    private String password;
    @NotBlank
    @ApiModelProperty(value = "新密码", required = true)
    private String newPassword;

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getNewPassword() {
        return newPassword;
    }

    public void setNewPassword(String newPassword) {
        this.newPassword = newPassword;
    }
}
